package cn.school.student.entity.vo;

import cn.school.student.convert.TrajectoryTypeConvert;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

/**
 * @author: lx
 * @date: 2024/3/28 14:17
 * @description:
 */
@Data
public class StudentTrajectoryExcel {

    @ExcelProperty(value = "学生编号",index=0)
    @ColumnWidth(25)
    private Long studentId;

    @ExcelProperty(value = "学生姓名" ,index=1)
    @ColumnWidth(25)
    private String studentName;

    @ExcelProperty(value = "学生班级" ,index=2)
    @ColumnWidth(25)
    private String className;

    @ExcelProperty(value = "进校/离校",index=3,converter = TrajectoryTypeConvert.class)
    @ColumnWidth(25)
    private String type;

    @ExcelProperty(value = "进出时间",index=4)
    @ColumnWidth(25)
    private String faceTime;
}
